using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
using SolanumSolstice.Mapping;


namespace SolanumSolstice.Units
{
    public class Move : Action
    {

        public Move(bool isLocked, float recoveryTime, Texture2D hudPicture)
            : base(isLocked, recoveryTime, hudPicture)
        {
        }

        public override void PerformAction(Unit currentUnit, Vector2 targetPosition, Unit targetUnit)
        {
            currentUnit.SetTarget(targetPosition);
        }

    }
}
